<?php
/**
 * Created by PhpStorm.
 * User: qishengqiang
 * Date: 2022-06-03
 * Time: 14:20
 */

namespace app\models;


class UserDonateRecords extends ModelBase
{
    protected $pk = 'userDonateId';

    public function organization()
    {
        return $this->hasOne(Organizations::class, 'organizationId', 'organizationId');
    }
}